package com.bigfish.gbs.service;

import com.bigfish.gbs.dto.OrderItemVO;
import com.bigfish.gbs.dto.Result;
import com.bigfish.gbs.entity.OrderInfo;
import com.bigfish.gbs.entity.OrderItem;

import java.util.List;

/**
 * @Author Joycessh
 * @Description
 * @Date 12/24/18 9:35 AM
 */
public interface OrderService {
    Long createOrder(List<OrderItem> list);
    List<OrderItemVO> getOrderList(String userId);
    Result manageList(int pageNum, int pageSize);
    Result manageDetail(Long orderNo);
    Result manageSearch(Long orderNo,int pageNum,int pageSize);
    Result manageSendGoods(Long orderNo);

    List<OrderInfo> getOrders();
}
